package com.example.script.mapper;

import com.example.script.model.ScriptTypeRelation;
import com.example.script.model.ScriptTypeRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ScriptTypeRelationMapper {
    long countByExample(ScriptTypeRelationExample example);

    int deleteByExample(ScriptTypeRelationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScriptTypeRelation record);

    int insertSelective(ScriptTypeRelation record);

    List<ScriptTypeRelation> selectByExample(ScriptTypeRelationExample example);

    ScriptTypeRelation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScriptTypeRelation record, @Param("example") ScriptTypeRelationExample example);

    int updateByExample(@Param("record") ScriptTypeRelation record, @Param("example") ScriptTypeRelationExample example);

    int updateByPrimaryKeySelective(ScriptTypeRelation record);

    int updateByPrimaryKey(ScriptTypeRelation record);
}